﻿using System.Data;
using ECM7.Migrator.Framework;

namespace music.domain.Migrations
{
	[Migration(5)]
	public class Migration005_RenameTables : Migration
	{
		public override void Apply()
		{
			Database.RenameTable("User", "Users");
			Database.RenameTable("Song", "Songs");
		}

		public override void Revert()
		{
			Database.RenameTable("Songs", "Song");
			Database.RenameTable("Users", "User");
		}
	}
}